#ifndef GOWILDRESPONSEROOMLISTCMD_H
#define GOWILDRESPONSEROOMLISTCMD_H

#include "Command/BaseCmd.h"
#include "DataType/GowildStruct.h"
#include "Protocol/GowildProtocol.h"

class GowildResponseRoomListCmd : public BaseCmd
{
    Q_OBJECT
public:
    enum{FunctionCode = GowildProtocol::GowildResponseRoomList};
    Q_INVOKABLE explicit GowildResponseRoomListCmd(QObject *parent = 0);

    Package toPackage();
    void unPackage(Package package);

    QHash<int, QString> roomHash() const;
    void setRoomHash(const QHash<int, QString> &roomHash);

private:
    QHash<int,QString> m_roomHash;

};

#endif // GOWILDRESPONSEROOMLISTCMD_H
